Class CommandPrivilegeImpl

java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.impl.CommandPrivilegeImpl
All Implemented Interfaces:
IPCData, CommandPrivilege

public class CommandPrivilegeImpl extends IPCDataImpl implements CommandPrivilege
  • Field Details

    • command

      protected String command
    • bAll

      protected boolean bAll
    • level

      protected int level
  • Constructor Details

    • CommandPrivilegeImpl

      public CommandPrivilegeImpl()
  • Method Details

    • getCommand

      public String getCommand()
      Specified by:
      getCommand in interface CommandPrivilege
      Returns:
      String Returns a String
    • setCommand

      public void setCommand(String command)
      Specified by:
      setCommand in interface CommandPrivilege
      Parameters:
      command - Takes in a parameter of command
    • getBAll

      public boolean getBAll()
      Specified by:
      getBAll in interface CommandPrivilege
      Returns:
      boolean Returns a boolean
    • setBAll

      public void setBAll(boolean bAll)
      Specified by:
      setBAll in interface CommandPrivilege
      Parameters:
      bAll - Takes in a parameter of bAll
    • getLevel

      public int getLevel()
      Specified by:
      getLevel in interface CommandPrivilege
      Returns:
      int Returns a int
    • setLevel

      public void setLevel(int level)
      Specified by:
      setLevel in interface CommandPrivilege
      Parameters:
      level - Takes in a parameter of level
    • read

      public void read(EncodedBuffer buffer)
      Reads this object from an EncodedBuffer of raw data
      Specified by:
      read in interface IPCData
      Specified by:
      read in class IPCDataImpl
      Parameters:
      buffer - The EncodedBuffer that contains the raw data from which to construct this object